package com.woniu.service;

import com.woniu.entity.Product;
import com.woniu.entity.utils.ResponseEntity;

public interface ProductService {
    public Product addOne(Product product);

    ResponseEntity findOneById(Integer pid);

    ResponseEntity updateProduct(Product product);

    ResponseEntity findAllByNameOrPrice(String name, double minPrice, double maxPrice);
}
